package com.mz.entity.vo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class GoodsGroundingVo {

    @NotNull(message = "商品id不能为空")
    private Long goodsId;
    @NotNull(message = "商品上架参数不能为空")
    @Min(value=0)
    @Max(value=1)
    private Integer grounding;
    private Date delayTime;
}
